home *** CD-ROM | disk | FTP | other *** search
- Path: oxy.rust.net!usenet
- From: ebennett@rust.net
- Newsgroups: comp.lang.c++
- Subject: Re: File Manager's Associations
- Date: Sun, 21 Jan 1996 19:49:36 GMT
- Organization: Rust Net - High Speed Internet in Detroit 810-642-2276
- Message-ID: <4dtqpu$sl2@oxy.rust.net>
- References: <geniec.2.2.3100FDE3@postbox.acs.ohio-state.edu>
- NNTP-Posting-Host: liv-11.rust.net
- X-Newsreader: Forte Free Agent 1.0.82
-
- geniec.2@postbox.acs.ohio-state.edu (Joseph Alexander Geniec) wrote:
-
- >I want to execute an application from within another
- >application using the WinExec function. (Specific to
- >MS Windows programming, I know) The problem is
- >I want to, for example, have the user type in the
- >filename of a bitmap file, and it's associated application
- >should execute. (ie paintbrush) The file associations
- >are made from the file manager of course. How do I
- >do this?
-
-
- I believe the Windows API ShellEXecute() is what you want to use.
-
- Earl
-
-
-
-